﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TodoApp.Enum;
using TodoApp.TodoGoodsDTO;
using Volo.Abp.Application.Services;


namespace TodoApp
{
    /// <summary>
    ///  商品表 接口 
    /// </summary>
   public interface IGoodsService : IApplicationService
    {
        /// <summary>
        ///  显示
        /// </summary>
        /// <returns></returns>
        Task<List<GoodsShowDTO>> GetListAsync();
        /// <summary>
        ///  添加
        /// </summary>
        /// <param name="text"></param>
        /// <returns></returns>
        Task<ShopStatus> CreateAsync( GoodsAddDTO model );
        /// <summary>
        ///  删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(Guid id);
        /// <summary>
        /// 详情 
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<GoodsShowDTO> FileCategory(Guid id);
        /// <summary>
        ///  修改 
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<ShopStatus> UpdateGoods(GoodsAddDTO model );
         
    }
}
